<%--@author 赵筠高雅--%>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <title>Mentor</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f4f4f4;
        }

        form {
            background-color: #fff;
            max-width: 400px;
            margin: 0 auto;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 0 10px rgb(52, 138, 22);
        }

        h1 {
            text-align: center;
            margin-bottom: 20px;
            color: #144504;
        }

        label {
            display: block;
            margin-bottom: 10px;
            font-weight: bold;
            color: #144504;
        }

        input[type="text"],
        select {
            width: calc(100% - 20px);
            padding: 10px;
            margin-bottom: 15px;
            border: 1px solid #a3f886;
            border-radius: 4px;
        }

        input[type="submit"] {
            width: 100%;
            padding: 10px;
            background-color: #b6f886;
            color: #fff;
            border: none;
            border-radius: 4px;
            cursor: pointer;
        }

        input[type="submit"]:hover {
            background-color: #1aff00;
        }

    </style>
</head>
<body>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<h1>Mentor接口测试</h1>
<form action="RequestHandlerServlet" method="post">
    <label for="url">接口地址:</label>
    <input type="text" id="url" name="url"><br><br>
    <label for="method">请求方式:</label>
    <select id="method" name="method">
        <option value="GET">GET</option>
        <option value="POST">POST</option>
    </select><br><br>
    <label for="params">请求参数:</label>
    <input type="text" id="params" name="params"><br><br>
    <input type="submit" value="发送请求">

</form>
</body>
</html>
